package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.AfterSaleAuditEnum;
import com.weixing.mall.provider.model.enums.AfterSaleIsHandleEnum;
import com.weixing.mall.provider.model.enums.AfterSalesTypeEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AfterSaleProblemVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/10/18
 * @Version 1.0
 **/
@Data
public class AfterSaleProblemVo {

    //售后id
    private Long id;
    //售后类型
    private AfterSalesTypeEnum afterSaleType;
    //售后状态
    private AfterSaleAuditEnum status;
    //订单id
    private Long orderId;
    //售后客服备注
    private String customerRemark;

    //商品id
    private Long goodsId;
    //商品图片
    private String img;


    //订单编号
    private String orderSn;
    //会员id
    private Long memberId;
    //下单类型
    private OrderTypeEnum orderType;
    //订单金额
    private Double orderPrice;
    //订单状态
    private OrderStateEnum orderStatus;
    //所属客服(id)
    private Long customerId;
    //活动名称
    private String actName;
    //下单时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    @ApiModelProperty(value = "售后客服审核时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date afterAuditedTime;

    //客户名称（联系人）收货人信息
    private String contactUser;
    //收货人联系方式
    private String contactPhone;


    //下单人
    private String buyer;


    //货品编号
    private String productSn;
    //sku描述
    private String productSkuDesp;
    //商品信息(货品表的货品名称)
    private String productName;

//
//    //颜色代码
//    private String colorCode;

    //所属经销商
    private String distributorName;
    //所属代理商
    private String agentName;


    //所属客服
    private String customerName;

    /**
     * 问题订单是否处理
     */
    @ApiModelProperty(value = "问题订单是否处理  0 未处理  1  已处理")
    private AfterSaleIsHandleEnum isHandle;

    @ApiModelProperty(value = "流水号")
    private String outTradeNo;
    @ApiModelProperty(value = "货号")
    private String goodsSn;
    @ApiModelProperty(value = "款号")
    private String styleNo;
    @ApiModelProperty(value = "发货员")
    private String shipperName;

    @ApiModelProperty(value = "快递名称")
    private String expressName;
    @ApiModelProperty(value = "发货员")
    @JsonFormat(locale = "zh", timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shipTime;
    /**
     * 市场价
     */
    private BigDecimal marketPrice;
}
